{% extends "backend/backendbase.html" %}
{% block users_selected %}class="current"{% endblock %}
{% block tittle %}List Of All Users{% endblock %}
{% block table_content %}
<div id="table-content">
	<!--  start table-content  -->
	<div id="table-content">
		<!--  start product-table ..................................................................................... -->
		<form id="mainform" action="">
			<table border="0" width="100%" cellpadding="0" cellspacing="0"
				id="product-table">
				<thead>
					<tr>
						<th class="table-header-check table-header-repeat header"><a>ID</a>
						</th>
						<th class="table-header-repeat line-left minwidth-1 header"><a>Username</a>
						</th>
						<th class="table-header-repeat line-left header"><a>Email</a>
						</th>
						<th class="table-header-repeat line-left header"><a>Type</a>
						</th>
						<th class="table-header-options line-left header"><a>Options</a>
						</th>
					</tr>
				</thead>
				<tbody>
					{{var_user}}
				</tbody>
			</table>
			<!--  end product-table................................... -->
		</form>
	</div>
	<!--  end content-table  -->
	<!--  start paging..................................................... -->
	<table border="0" cellpadding="0" cellspacing="0" id="paging-table">
		<tbody> <tr>
				<td> {{var_user_paging}}
				</td>
				</tr>		
		</tbody>
	</table>
	<!--  end paging................ -->

	<div class="clear"></div>

	<script type="text/javascript">
					$(document).ready(function() {
						$(".icon-2").click(function(event) {
							if (!confirm("Do you want to delete this user ?")) {
								event.preventDefault();
							}
						});
						$(".selectbox-wrapper2 ul li").click(function() {
							if ($(this).html() != "Number of rows") {
								location.href = "1?numRows=" + $(this).html();
							}
						});
					})
				</script>
</div>
<!--  end table-content  -->
			
{% endblock %}